@echo off
rem if用法至errorlevel
rem if [not] errorlevel number dosth
rem 当同时判断的时候可以将failure的放在前面，如果success在前的话执行判断也算成功的，故failure不会执行

rem echo printSomeChontent
set /ff =2
if errorlevel 1 goto failure 
if errorlevel 0 goto success 
pause>nul

:success
echo success
pause>nul
exit

:failure
echo failure
pause>nul
exit
